package com.hk.commons.enm;

public enum CompanyEnum {

	CompanyEnum_1("1", "华康资管"),

	CompanyEnum_2("2", "中融信托"),

	CompanyEnum_3("3", "火柴财富"),

	CompanyEnum_4("4", "盈米财富"),

	CompanyEnum_11("11", "海钜信达");

	private String code;

	private String name;

	private CompanyEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public String getName() {
		return name;
	}

	public static String getCompanyEnum(int i) {
		String returnStr = null;
		switch (i) {
		case 1:
			returnStr = CompanyEnum.CompanyEnum_1.getName();
			break;
		case 2:
			returnStr = CompanyEnum.CompanyEnum_2.getName();
			break;
		case 3:
			returnStr = CompanyEnum.CompanyEnum_3.getName();
			break;
		case 4:
			returnStr = CompanyEnum.CompanyEnum_4.getName();
			break;

		}
		return returnStr;
	}
}
